﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C8F RID: 3215
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OfferingInfoScNotify : IMessage<OfferingInfoScNotify>, IMessage, IEquatable<OfferingInfoScNotify>, IDeepCloneable<OfferingInfoScNotify>, IBufferMessage
	{
		// Token: 0x1700287D RID: 10365
		// (get) Token: 0x06008FBD RID: 36797 RVA: 0x0017DC35 File Offset: 0x0017BE35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OfferingInfoScNotify> Parser
		{
			get
			{
				return OfferingInfoScNotify._parser;
			}
		}

		// Token: 0x1700287E RID: 10366
		// (get) Token: 0x06008FBE RID: 36798 RVA: 0x0017DC3C File Offset: 0x0017BE3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OfferingInfoScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700287F RID: 10367
		// (get) Token: 0x06008FBF RID: 36799 RVA: 0x0017DC4E File Offset: 0x0017BE4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OfferingInfoScNotify.Descriptor;
			}
		}

		// Token: 0x06008FC0 RID: 36800 RVA: 0x0017DC55 File Offset: 0x0017BE55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OfferingInfoScNotify()
		{
		}

		// Token: 0x06008FC1 RID: 36801 RVA: 0x0017DC5D File Offset: 0x0017BE5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OfferingInfoScNotify(OfferingInfoScNotify other) : this()
		{
			this.aKEGHCPLJAC_ = ((other.aKEGHCPLJAC_ != null) ? other.aKEGHCPLJAC_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008FC2 RID: 36802 RVA: 0x0017DC92 File Offset: 0x0017BE92
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OfferingInfoScNotify Clone()
		{
			return new OfferingInfoScNotify(this);
		}

		// Token: 0x17002880 RID: 10368
		// (get) Token: 0x06008FC3 RID: 36803 RVA: 0x0017DC9A File Offset: 0x0017BE9A
		// (set) Token: 0x06008FC4 RID: 36804 RVA: 0x0017DCA2 File Offset: 0x0017BEA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJOBBCKLNFK AKEGHCPLJAC
		{
			get
			{
				return this.aKEGHCPLJAC_;
			}
			set
			{
				this.aKEGHCPLJAC_ = value;
			}
		}

		// Token: 0x06008FC5 RID: 36805 RVA: 0x0017DCAB File Offset: 0x0017BEAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OfferingInfoScNotify);
		}

		// Token: 0x06008FC6 RID: 36806 RVA: 0x0017DCB9 File Offset: 0x0017BEB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OfferingInfoScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.AKEGHCPLJAC, other.AKEGHCPLJAC) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008FC7 RID: 36807 RVA: 0x0017DCEC File Offset: 0x0017BEEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.aKEGHCPLJAC_ != null)
			{
				num ^= this.AKEGHCPLJAC.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008FC8 RID: 36808 RVA: 0x0017DD28 File Offset: 0x0017BF28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008FC9 RID: 36809 RVA: 0x0017DD30 File Offset: 0x0017BF30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008FCA RID: 36810 RVA: 0x0017DD39 File Offset: 0x0017BF39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.aKEGHCPLJAC_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.AKEGHCPLJAC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008FCB RID: 36811 RVA: 0x0017DD6C File Offset: 0x0017BF6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.aKEGHCPLJAC_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AKEGHCPLJAC);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008FCC RID: 36812 RVA: 0x0017DDAC File Offset: 0x0017BFAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OfferingInfoScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.aKEGHCPLJAC_ != null)
			{
				if (this.aKEGHCPLJAC_ == null)
				{
					this.AKEGHCPLJAC = new OJOBBCKLNFK();
				}
				this.AKEGHCPLJAC.MergeFrom(other.AKEGHCPLJAC);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008FCD RID: 36813 RVA: 0x0017DE00 File Offset: 0x0017C000
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008FCE RID: 36814 RVA: 0x0017DE0C File Offset: 0x0017C00C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.aKEGHCPLJAC_ == null)
					{
						this.AKEGHCPLJAC = new OJOBBCKLNFK();
					}
					input.ReadMessage(this.AKEGHCPLJAC);
				}
			}
		}

		// Token: 0x040036CE RID: 14030
		private static readonly MessageParser<OfferingInfoScNotify> _parser = new MessageParser<OfferingInfoScNotify>(() => new OfferingInfoScNotify());

		// Token: 0x040036CF RID: 14031
		private UnknownFieldSet _unknownFields;

		// Token: 0x040036D0 RID: 14032
		public const int AKEGHCPLJACFieldNumber = 2;

		// Token: 0x040036D1 RID: 14033
		private OJOBBCKLNFK aKEGHCPLJAC_;
	}
}
